<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: usrbench.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00962_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">usrbench.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="a00962.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &lt;windows.h&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#ifdef RC_INVOKED</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#define ID(id)              id</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="a00962.html#a78bf4b8bea0276f89c546081d1f8495d">    6</a></span>&#160;<span class="preprocessor">#define ID(id)              MAKEINTRESOURCE(id)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="a00962.html#a9f78fa658d82307ed42fd2e80af60249">    9</a></span>&#160;<span class="preprocessor">#define GWL_HWNDEDIT        0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="a00962.html#a8d66c32326f69052f851a1bdf9dd7d57">   10</a></span>&#160;<span class="preprocessor">#define IDUSERBENCH         ID(1)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="a00962.html#a6070c681bef1714523307ed3c68be5df">   11</a></span>&#160;<span class="preprocessor">#define IDNOTE              ID(2)</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Menu IDs.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="a00962.html#a57c460769a7a644490a618f71aa31932">   16</a></span>&#160;<span class="preprocessor">#define IDM_DUMMY           1</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="a00962.html#a589e0105bc3e8681893dbf51210ceeec">   17</a></span>&#160;<span class="preprocessor">#define IDM_ABOUT           100</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="a00962.html#a79aeed168a959b22b32169e25f8c1f4d">   18</a></span>&#160;<span class="preprocessor">#define IDM_EXIT            101</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="a00962.html#a1aab8591ea67205af25b67cf6ff71103">   19</a></span>&#160;<span class="preprocessor">#define IDM_ALL             102</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="a00962.html#aef6bd4fe1a5a9bc20ec2627f37ca815e">   20</a></span>&#160;<span class="preprocessor">#define IDM_VIEWRESULTS     103</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="a00962.html#a4c546dd348aa5f1233485f2214a24a23">   21</a></span>&#160;<span class="preprocessor">#define IDM_SAVERESULTS     104</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="a00962.html#a09fa3e46409bbe2ae7c8f417ae066f90">   22</a></span>&#160;<span class="preprocessor">#define IDM_PROFILEALL      105</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="a00962.html#a13eb1bcd4ba7650a3d3827ad2ef87d65">   24</a></span>&#160;<span class="preprocessor">#define IDM_BENCHFIRST      1000</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * Control IDs.</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="a00962.html#ae9b89a2dc93bb2cb1712b4e0315947fc">   29</a></span>&#160;<span class="preprocessor">#define IDC_RESULTSLIST     100</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="a00962.html#af36486f1c7fbf8dbe9754e328ab37bfe">   30</a></span>&#160;<span class="preprocessor">#define ID_EDIT             0xCAC</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="a00962.html#abbb71547df5cc7788a2312ede1c4f9f9">   31</a></span>&#160;<span class="preprocessor">#define ID2             134</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00962.html#af6c330d1e26c6d6fb31d9bd53ca93dd9">   32</a></span>&#160;<span class="preprocessor">#define ID256           135</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="a00962.html#a454c2faad6ecf1c8018f7819dd6cae46">   33</a></span>&#160;<span class="preprocessor">#define IDWIDTH         100</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="a00962.html#a9d465ed249428b2dfcc6c4bad5938f8f">   34</a></span>&#160;<span class="preprocessor">#define IDHEIGHT        101</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="a00962.html#a67241bac0f16df0fe648506862d20703">   35</a></span>&#160;<span class="preprocessor">#define IDIN            102</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="a00962.html#a7b2dbeae5cf6659e13f60fdb1909ad35">   36</a></span>&#160;<span class="preprocessor">#define IDCM            103</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="a00962.html#a769c6d5f0d56293b751db25b15003660">   37</a></span>&#160;<span class="preprocessor">#define IDPELS          104</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * Dialog IDs</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="a00962.html#a74dbd3f210d99eb11318cd83e1475abb">   42</a></span>&#160;<span class="preprocessor">#define IDD_ABOUT       300</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="a00962.html#a417ead1470235f472c597f4122fedbfc">   43</a></span>&#160;<span class="preprocessor">#define IDD_RESULTS     301</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="a00962.html#a12a71c05ee9457bcce8c3472a73d3bb1">   44</a></span>&#160;<span class="preprocessor">#define CLEARBOX        302</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="a00962.html#ad6e2eba9f60ef0cd201a750af2d04230">   45</a></span>&#160;<span class="preprocessor">#define CLEARBOXNOMENU  303</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="a00962.html#ab75e5eee35964339c416714d27639bc5">   46</a></span>&#160;<span class="preprocessor">#define CLEARBOXNOFONT  304</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="a00962.html#a2b7cf2a3641be7b89138615764d60ba3">   47</a></span>&#160;<span class="preprocessor">#define EMPTY           305</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#ifndef RC_INVOKED</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="a03041.html">   50</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a03041.html">_BENCHMARKINFO</a> {</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="a03041.html#a5d3df0f7b16133a5d0989a72ef774282">   51</a></span>&#160;    LPSTR <a class="code" href="a03041.html#a5d3df0f7b16133a5d0989a72ef774282">pszBenchTitle</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="a03041.html#ab6f6296e7ed3541ddaeeeec83b92448e">   52</a></span>&#160;    void (*<a class="code" href="a03041.html#ab6f6296e7ed3541ddaeeeec83b92448e">pfnBenchmark</a>)(<span class="keywordtype">int</span> <a class="code" href="a03041.html#af1387ad6032515abf13ee512c20e71bc">cIterations</a>);</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="a03041.html#af1387ad6032515abf13ee512c20e71bc">   53</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="a03041.html#af1387ad6032515abf13ee512c20e71bc">cIterations</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a03041.html#a505f13dd92b3c91ba73c8dc86856fdcc">   54</a></span>&#160;    LONG <a class="code" href="a03041.html#a505f13dd92b3c91ba73c8dc86856fdcc">usPerIteration</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;} <a class="code" href="a00962.html#a538ee397e57bb2513177d3464ab5b21f">BENCHMARKINFO</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00962.html#ac28ab07085909d79530f64d32a8fc27e">gcbmi</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#ifndef WIN32</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="a00962.html#a428a91acf2c2439dc1a257708ee1f805">   60</a></span>&#160;<span class="preprocessor">#define APIENTRY FAR PASCAL</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="a00962.html#a392e62da233ed3e2f7c3fd4f487a3896">   61</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="a00962.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="a00962.html#aebb9e13210d88d43e32e735ada43a425">   62</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="a00962.html#aebb9e13210d88d43e32e735ada43a425">CHAR</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#define DLGPROC WNDPROC</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa03041_html_a5d3df0f7b16133a5d0989a72ef774282"><div class="ttname"><a href="a03041.html#a5d3df0f7b16133a5d0989a72ef774282">_BENCHMARKINFO::pszBenchTitle</a></div><div class="ttdeci">LPSTR pszBenchTitle</div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00051">usrbench.h:51</a></div></div>
<div class="ttc" id="aa00962_html_aebb9e13210d88d43e32e735ada43a425"><div class="ttname"><a href="a00962.html#aebb9e13210d88d43e32e735ada43a425">CHAR</a></div><div class="ttdeci">char CHAR</div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00062">usrbench.h:62</a></div></div>
<div class="ttc" id="aa03041_html_a505f13dd92b3c91ba73c8dc86856fdcc"><div class="ttname"><a href="a03041.html#a505f13dd92b3c91ba73c8dc86856fdcc">_BENCHMARKINFO::usPerIteration</a></div><div class="ttdeci">LONG usPerIteration</div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00054">usrbench.h:54</a></div></div>
<div class="ttc" id="aa00962_html_ac28ab07085909d79530f64d32a8fc27e"><div class="ttname"><a href="a00962.html#ac28ab07085909d79530f64d32a8fc27e">gcbmi</a></div><div class="ttdeci">int gcbmi</div><div class="ttdef"><b>Definition:</b> <a href="a00953_source.html#l01762">bench.c:1762</a></div></div>
<div class="ttc" id="aa03041_html_af1387ad6032515abf13ee512c20e71bc"><div class="ttname"><a href="a03041.html#af1387ad6032515abf13ee512c20e71bc">_BENCHMARKINFO::cIterations</a></div><div class="ttdeci">int cIterations</div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00053">usrbench.h:53</a></div></div>
<div class="ttc" id="aa00962_html_a538ee397e57bb2513177d3464ab5b21f"><div class="ttname"><a href="a00962.html#a538ee397e57bb2513177d3464ab5b21f">BENCHMARKINFO</a></div><div class="ttdeci">struct _BENCHMARKINFO BENCHMARKINFO</div></div>
<div class="ttc" id="aa00962_html_a392e62da233ed3e2f7c3fd4f487a3896"><div class="ttname"><a href="a00962.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a></div><div class="ttdeci">int INT</div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00061">usrbench.h:61</a></div></div>
<div class="ttc" id="aa03041_html_ab6f6296e7ed3541ddaeeeec83b92448e"><div class="ttname"><a href="a03041.html#ab6f6296e7ed3541ddaeeeec83b92448e">_BENCHMARKINFO::pfnBenchmark</a></div><div class="ttdeci">void(* pfnBenchmark)(int cIterations)</div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00052">usrbench.h:52</a></div></div>
<div class="ttc" id="aa03041_html"><div class="ttname"><a href="a03041.html">_BENCHMARKINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00962_source.html#l00050">usrbench.h:50</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_ba550e0209ab8133bbb9fbfaaefaa060.html">tools</a></li><li class="navelem"><a class="el" href="dir_03e97bd5b13cb76f873571f2f3fa6ef4.html">usrbench</a></li><li class="navelem"><a class="el" href="a00962.html">usrbench.h</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
